<template>
  <div class="monitor-abnorm">
    <abnorm-chart ref="abnormChart"></abnorm-chart>
    <abnorm-list ref="abnormList" @refresh="$refs.abnormChart.getCount()"></abnorm-list>
  </div>
</template>

<script>
import abnormChart from './abnorm-chart'
import abnormList from './abnorm-list'
export default {
  components: {
    abnormChart,
    abnormList
  },
  data() {
    return {}
  },
  methods: {
    getDetail() {
      this.$refs.abnormChart.getCount()
      this.$refs.abnormList.getList()
    }
  }
}
</script>

<style lang="scss">
.monitor-abnorm {
  height: 100%;
}
</style>
